home *** CD-ROM | disk | FTP | other *** search
/ Die Speccy' 97 / Die Speccy' 97.iso / amiga_system / the_aminet / util / cli / reboot.lha / reboot.readme < prev   
Text File  |  1994-11-21  |  3KB  |  65 lines

  1. ############################################################################
  2. ##  MF reboot  -  perform cold reboot from a Shell command                ##
  3. ##                                                                        ##
  4. ##  Written by:  Max Francis (francism@cs.man.ac.uk)                      ##
  5. ##  Date:        13/03/94                                                 ##
  6. ############################################################################
  7.  
  8. Do what?  Why not just press <CTRL-A-A>?!?!??
  9.  
  10. Well, my A500 was connected to my A1200 by PARnet and, being the slave 
  11. machine, it was on its side down the side of the desk. In other words, the 
  12. keyboard was inaccessible.  I usually had PARnet keys going so that I could 
  13. use the A500 from my A1200's keyboard.  BUT, when I wanted to reset the A500,
  14. I couldn't!
  15.  
  16. So I wrote "reboot", to be able to reboot an Amiga from a remote keyboard 
  17. without actually having to press <CTRL-A-A> on its keyboard.....
  18.  
  19. "reboot" when typed at a shell, will respond "Cold Reboot? Confirm (y/n)"
  20. and you should type "y" <RETURN> to perform a reset, or anything else to
  21. abort.
  22.  
  23. There is also another version in the archive called "ColdReboot", this
  24. performs a cold reboot immediately without any confirmation.  This is
  25. intended mainly for use from shell scripts or maybe ARexx.
  26.  
  27. WARNING:  There is absolutely *nothing* in the least bit "clean" or 
  28.           "friendly" about this reboot, it is just as if you had pressed 
  29.           <CTRL-A-A>.  All it does is call the Exec Library reboot command!
  30.  
  31. SUMMARY:    reboot.readme -  This file.
  32.             reboot        -  Perform system reboot, asking for confirmation,
  33.                              On typing "reboot", it will respond with:
  34.                              Cold Reboot?  Confirm (y/n)
  35.                              Pressing anything other than "y"  or "Y" will 
  36.                              abort and the system will not reboot.
  37.             ColdReboot    -  Perform system reboot IMMEDIATELY
  38.             reboot.c      -  The C source code of reboot (as you can see, it
  39.                              is an _extremely_ complex program...)
  40.             ColdReboot.c  -  The C source code of ColdReboot
  41.  
  42. (I have provided the source code for people's *interest*, edit it for your
  43. own use, but please don't give it to anyone else editted [without 
  44. consulting me])
  45.  
  46. INSTALLATION
  47. Basically, I'd recommend copying "reboot" to the c: directory of the computer
  48. you're going to want to reboot, and keeping ColdReboot somewhere else for use
  49. in shell-scripts, etc. (perhaps security on your startup-sequence).
  50.           **These programs require Kickstart 2.0 and above**
  51.  
  52. If you find a use for this program, or if you think it's crap, let me know on
  53. email (address above) or on normal mail at:
  54.  
  55.    Max Francis
  56.    7 Forest Drive
  57.    Keston Park
  58.    Keston
  59.    Kent
  60.    BR2 6EE
  61.  
  62.  
  63. =====>  Look out for "DFREE" - show free disk space from a shell command
  64. =====>  and coming soon - "ICON" give an object an icon of a specified type.
  65.